//
//  YXTaskListTableViewCell.h
//  MockProject
//
//  Created by FanYu on 22/8/2016.
//  Copyright © 2016 niuzhaowang. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "YXTaskModel.h"

@protocol YXTaskListTableViewCellDelegate <NSObject>

- (void)downloadButtonTapped:(UIButton *)sender;

@end

@interface YXTaskListTableViewCell : UITableViewCell

@property (weak, nonatomic) IBOutlet UILabel *titleLabel;
@property (weak, nonatomic) IBOutlet UIButton *actionButton;
@property (weak, nonatomic) IBOutlet UIImageView *timeImageView;
@property (weak, nonatomic) IBOutlet UILabel *timeLabel;
@property (weak, nonatomic) IBOutlet UILabel *sizeLabel;

@property (nonatomic, assign) NSNumber *status;
@property (nonatomic, strong) YXTaskModel *taskModel;

@property (nonatomic, weak) id<YXTaskListTableViewCellDelegate> delegate;

@end
